﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

using Infra.Business;

namespace softpower.forms.ui
{
    public partial class frmCompra : Form
    {
        private static frmCompra frm = null;

        public frmCompra()
        {
            InitializeComponent();
        }


        public static frmCompra Instancia()
        {
            if (frm == null || frm.IsDisposed)
            {
                frm = new frmCompra();
            }
            return frm;
        }


        private void frmCompra_Load(object sender, EventArgs e)
        {
            GridProdutoscomprados();
        }



        void PreencheComboProvincia()
        { 
            
        }


        //Ajustar a GridView dos Produtos comprados
        void GridProdutoscomprados()
        {
            grdCompra.Columns[0].Width = 415;
            grdCompra.Columns[1].Width = 100;
            grdCompra.Columns[2].Width = 100;
            grdCompra.Columns[2].Width = 100;
        }


        private void btnSalvar_Click(object sender, EventArgs e)
        {

        }



      
    }
}
